(provide 'pyim-cfg)
(require 'pyim)
(require 'pyim-basedict)


(pyim-basedict-enable)

(setq pyim-page-length 9)

(define-key pyim-mode-map "." 'pyim-page-next-page)
(define-key pyim-mode-map "," 'pyim-page-previous-page)

(global-set-key (kbd "<menu>") 'toggle-input-method)

(require 'popup)
(setq pyim-page-tooltip 'popup)
;; (require 'posframe)
;; (setq pyim-page-tooltip 'posframe)

;;(setq pyim-page-style 'one-line)
